#include <windows.h>
#include <sstream>
#include "Program.h"


int main()
{
	std::string fileName;

	for(int i = 1; i<6;i++)
	{
		std::ostringstream ss;
		ss<<i;
		if(i<10)
		{
			fileName = "0"+ss.str();
		}
		else 
		{
			fileName = ss.str();
		}

		ss.clear();
		Program *program = new Program("dane/data"+fileName+".txt");
		program->Do();
		program->~Program();
	}
	system("PAUSE");
	return 0;
};